import { createApp } from 'vue'
import App from './App.vue'
// 全局样式
import './styles/index.scss'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//svg插件需要配置代码
import 'virtual:svg-icons-register'
const app = createApp(App)
// import SvgIcon from '@/components/SvgIcon/index.vue'
// app.component('SvgIcon',SvgIcon)
// 引入自定义插件对象：注册整个项目全局组件
import gloabComponent from '@/components'
app.use(gloabComponent)
app.use(ElementPlus)
app.mount('#app')
